<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		.div1 {
			width: 200px;
			height: 200px;
			background-color: pink;
			margin: 100px;
			/*定位 = 定位模式 +  边偏移*/
			position: relative;
			top: 100px;
			left: 100px;
		}
	</style>
</head>
<body>
	<div class="div1"></div>
	
</body>
</html>